package com.yykj.user.center.server.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/11/6 13:14
 */
//问诊信息
@Data
public class updateConsultationInfoForm {

    @NotBlank(message = "请传入ID")
    private String id;

    @ApiModelProperty("病情描述")
    @NotBlank(message = "请输入病情描述")
    private String description;

    @NotBlank(message = "请输入体重")
    private String weight;

    @NotBlank(message = "请输入身高")
    private String height;

    @NotBlank(message = "请输入名族")
    @ApiModelProperty("名族")
    private String nameFamily;

    @NotBlank(message = "请输入血腥")
    @ApiModelProperty("血型")
    private String bloodTye;

    @NotBlank(message = "请输入婚姻")
    @ApiModelProperty("婚姻")
    private String marriage;

    @NotBlank(message = "请输入生育")
    @ApiModelProperty("生育")
    private String birth;

    @ApiModelProperty("过敏史")
    private String allergicHistory;

    @ApiModelProperty("现病史")
    @Column(columnDefinition = "text")
    private String medicalHistory;

    @ApiModelProperty("其他病史")
    @Column(columnDefinition = "text")
    private String otherMedicalHistory;

    @ApiModelProperty("家族病史")
    @Column(columnDefinition = "text")
    private String familyHistory;


    private Boolean state;

}
